package com.ocl.www.mapper;

import java.util.List;

import com.ocl.www.domain.User;
import org.apache.ibatis.annotations.Mapper;

import com.ocl.www.domain.UserAttention;

@Mapper
public interface UserAttentionMapper {

	
	/**
	 * 
	 * @Discription 添加用户兴趣
	 * @param
	 * @return
	 * @throws Exception
	 */
	public int insertUserAttention(List<UserAttention> list)throws Exception;

	/*****
	 * description 获取用户的标签
	 * @param userId
	 * @return
	 * @throws Exception
	 */
    List<UserAttention> queryAttentionOfUser(Integer userId)throws Exception;

}
